package com.nekonomics
package api.dto.response

import types.{Money, OrderStatus}

import zio.json.JsonEncoder

import java.time.OffsetDateTime


case class OrderDto(
  id: Long,
  createdAt: OffsetDateTime,
  status: OrderStatus,
  total: Money,
  items: List[OrderItemDetailDto]
) derives JsonEncoder
